<template>
    <div class="app">
        <merchantHeader/>
        <div class="back">
            <div class="con">
              <div class="pxes"></div>
              <div class="listneo">
                <businessL/>
                <div class="conres">
                  <div class="ra"><h3>聊天记录查询</h3></div>
                  <p class="lcx">查询条件</p>
                  <div class="lcx_b">
                    <span>查询方式：</span>
                    <el-checkbox>按客服账号查询</el-checkbox>
                    <el-checkbox>按订单/违规编号查询</el-checkbox>
                  </div>
                  <el-form ref="form" label-width="80px" style="margin:15px 0px">
                    <el-row>
                      <el-col :span="9" :offset="2">
                        <el-form-item label="客服账号">
                          <el-select style="width: 100%;" v-model="region" placeholder="请选择活动区域">
                            <el-option label="区域一" value="shanghai"></el-option>
                            <el-option label="区域二" value="beijing"></el-option>
                          </el-select>
                        </el-form-item>
                      </el-col>
                      <el-col :span="9" :offset="2">
                        <el-form-item label="时间">
                          <el-date-picker type="date" v-model="dates" placeholder="选择日期" style="width: 100%;"></el-date-picker>
                        </el-form-item>
                      </el-col>
                    </el-row>
                  </el-form>
                  <el-button style="display:block;margin:0 auto">查询</el-button>
                  <p class="lcx">查询结果</p>
                  <el-table
                    :data="tableData"
                    :header-cell-style="{background:'#D6DCE1',color:'#2D405E'}"
                    style="width: 873px;;margin:0 auto;border:solid 1px rgb(220,220,220);height:250px">
                    <el-table-column
                      prop="name"
                      label="消费者账号"
                      width="180">
                    </el-table-column>
                    <el-table-column
                      prop="address"
                      label="聊天记录">
                    </el-table-column>
                  </el-table> 
                  <businessF/>
                </div>
              </div>
            </div>
        </div>
        <Footer/>
    </div>
</template>
<script>
import merchantHeader from '@/components/merchantHeader'
import Footer from '@/components/Footer'
import businessL from '@/components/businessL'
import businessF from '@/components/businessF'
export default {
    components: { 
    merchantHeader,
    Footer,
    businessL,
    businessF
    },
    data() {
      return {
        region:"",
        dates:"",
        tableData: [{
            date: '2016-05-02',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1518 弄'
          }]
      }
      
    },
    methods: {
    
    },
}
</script>
<style scoped>
.app  /deep/  .ist_l .ist_c li:nth-child(1) {
    background-color: #ff9381;
    width: 126px;
    height: 50px;
    display: block;
}
.yuansdj /deep/ .el-button--primary:hover {
    background: #fdab9c;
    border-color: #fdab9c;
}
.yuansdj /deep/ .el-button--primary {
    color: #FFF;
    background-color: #ff9381;
    border-color: #ff9381;
}
.back {
    background-color: #f06048
}  
.pxes {
  height: 15px;
}
.back .con {
  width: 1200px;
  margin: 0 auto;
  background-color: #eee;
  padding-bottom: 10px;
} 
.listneo {
  width: 1161px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
}
.conres {
  width: 902px;
  border-radius: 6px;
  background-color: #fff
}
.conres .ra h3{
  font-size: 20px;
  color: #f06048;
  padding-left: 14px;
  border-bottom: 1px solid #cecece;
  margin-top: 15px;
  padding-bottom: 10px;
}
.yuansdj {
  width: 500px;
  margin-top: 20px;
  margin-left: 20px;
}
.lcx{
  margin: 10px 0px;
  font-size: 17px;
  text-indent: 14px;
  color: black;
}
.lcx_b{
  display: flex;
  justify-content: center;
}

</style>